
using AutoMapper;
using Yozeev.SystemConfig;
using Yozeev.SystemConfig.Dtos;

namespace Yozeev.SystemConfig.Mapper
{

	/// <summary>
    /// 配置PowerRole的AutoMapper
    /// </summary>
	internal static class PowerRoleMapper
    {
        public static void CreateMappings(IMapperConfigurationExpression configuration)
        {
            configuration.CreateMap <PowerRole,PowerRoleListDto>();
            configuration.CreateMap <PowerRoleListDto,PowerRole>();

            configuration.CreateMap <PowerRoleEditDto,PowerRole>();
            configuration.CreateMap <PowerRole,PowerRoleEditDto>();

        }
	}
}
